package com.fast.develop.core.properties;

import com.fast.develop.core.enums.DdlAuto;

/**
 * @author 莫寅
 * @createTime 2022-06-05 21:42
 * @desc：
 */
public class DomainRuntimeProperties {

    /**
     * 领域模型动态接口前缀
     */
    private String apiPrefix;

    /**
     * 领域模型包扫描路径
     */
    private String[] packagesToScan;

    /**
     * 注解类
     */
    private Class[] annotatedClasses;

    /**
     * Xml资源
     */
    private String[] mappingResources;

    private boolean showSql = false;

    private DdlAuto ddlAuto;


    public String getApiPrefix() {
        return apiPrefix;
    }

    public void setApiPrefix(String apiPrefix) {
        this.apiPrefix = apiPrefix;
    }

    public String[] getPackagesToScan() {
        return packagesToScan;
    }

    public void setPackagesToScan(String[] packagesToScan) {
        this.packagesToScan = packagesToScan;
    }

    public Class[] getAnnotatedClasses() {
        return annotatedClasses;
    }

    public void setAnnotatedClasses(Class[] annotatedClasses) {
        this.annotatedClasses = annotatedClasses;
    }

    public String[] getMappingResources() {
        return mappingResources;
    }

    public void setMappingResources(String[] mappingResources) {
        this.mappingResources = mappingResources;
    }

    public boolean isShowSql() {
        return showSql;
    }

    public void setShowSql(boolean showSql) {
        this.showSql = showSql;
    }

    public DdlAuto getDdlAuto() {
        return ddlAuto;
    }

    public void setDdlAuto(DdlAuto ddlAuto) {
        this.ddlAuto = ddlAuto;
    }
}
